//
//  AGLKTextureLoader.h
//  OpenGLES_Learning
//
//  Created by Mac Center on 7/30/13.
//  Copyright (c) 2013 Mac Center. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AGLKTextureInfo : NSObject {
@private
    GLuint name;
    GLenum target;
    GLuint width;
    GLuint height;
}
@property (readonly) GLuint name;
@property (readonly) GLenum target;
@property (readonly) GLuint width;
@property (readonly) GLuint height;

@end

@interface AGLKTextureLoader : NSObject
+ (AGLKTextureInfo *)textureWithCGImage:(CGImageRef)cgImage
                                options:(NSDictionary *)options
                                  error:(NSError **)outError;
@end
